﻿using System;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;
using System.Data;

namespace KPIS.GERP.GFMS.IBLL
{
    public interface IBLL_MessageSend
    {
        IList<M_MessageSend> GetFull(string to_emp_seq
            , string from_emp_seq, string message_status);
        IList<M_MessageSend> GetList(string to_emp_seq
            , string from_emp_seq, string message_status);
        M_MessageSend GetInfo(string seq);
        M_MessageSend GetInfoFromRefSeq(string ref_seq, string ref_type);
        M_MessageSend GetInfoFromFromSendSeq(string seq);
        DataTable GetCurrentApprover(string emp_seq, string process, int step_no);
        string GetNextStepNo(string approve_path_seq);
        int GetUnreadCount(string emp_seq);
        M_MessageSend GetLatestMessageStatus(string ref_seq, string ref_type);
        //string SelectRecentInsertedRoleSeq();

        string Insert(M_MessageSend info);
        void Update(M_MessageSend info);
        void Delete(M_MessageSend info);
        void UpdateMessageStatus(M_MessageSend info);
    }
}
